<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>JC小站 - 与你共享生活和今日份的丧</title><meta name="author" content="John Cena"><meta name="copyright" content="John Cena"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="梦想不大,道路漫长">
<meta property="og:type" content="website">
<meta property="og:title" content="JC小站">
<meta property="og:url" content="https://jcxiaozhan.gitee.io/page/3/index.html">
<meta property="og:site_name" content="JC小站">
<meta property="og:description" content="梦想不大,道路漫长">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://jcxiaozhan.gitee.io/mysrc/headimg.jpg">
<meta property="article:author" content="John Cena">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://jcxiaozhan.gitee.io/mysrc/headimg.jpg"><link rel="shortcut icon" href="https://img.jcxiaozhan.top/%E7%BD%91%E7%AB%99%E5%B0%8F%E5%9B%BE%E6%A0%87.png"><link rel="canonical" href="https://jcxiaozhan.gitee.io/page/3/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":50,"languages":{"author":"作者: John Cena","link":"链接: ","source":"来源: JC小站","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"top-right"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'JC小站',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2024-02-10 20:53:14'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
          const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
          const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
          const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

          if (t === undefined) {
            if (isLightMode) activateLightMode()
            else if (isDarkMode) activateDarkMode()
            else if (isNotSpecified || hasNoSupport) {
              const now = new Date()
              const hour = now.getHours()
              const isNight = hour <= 6 || hour >= 18
              isNight ? activateDarkMode() : activateLightMode()
            }
            window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
              if (saveToLocal.get('theme') === undefined) {
                e.matches ? activateDarkMode() : activateLightMode()
              }
            })
          } else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><link rel="stylesheet" href="/css/mycss.css"><meta name="generator" content="Hexo 6.2.0"><link rel="alternate" href="/atom.xml" title="JC小站" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/mysrc/headimg.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">33</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">4</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/artitalk/index.html"><i class="fa-fw fa-fw far fa-comments"></i><span> 说说</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group hide" href="javascript:void(0);"><i class="fa-fw fas fa-link"></i><span> 链接</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/link/"><i class="fa-fw fa fa-users"></i><span> 友情链接</span></a></li><li><a class="site-page child" href="/sites/"><i class="fa-fw fa fa-bookmark"></i><span> 实用网站</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/navigation.html"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://api.vvhan.com/api/bing')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">JC小站</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/artitalk/index.html"><i class="fa-fw fa-fw far fa-comments"></i><span> 说说</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group hide" href="javascript:void(0);"><i class="fa-fw fas fa-link"></i><span> 链接</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/link/"><i class="fa-fw fa fa-users"></i><span> 友情链接</span></a></li><li><a class="site-page child" href="/sites/"><i class="fa-fw fa fa-bookmark"></i><span> 实用网站</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/navigation.html"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">JC小站</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/jcxiaozhan0403" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=349636607&amp;site=qq&amp;menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a><a class="social-icon" href="mailto:349636607@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2020/07/31/%E7%94%A8Markdown%E5%86%99%E5%87%BA%E4%B8%80%E7%AF%87%E6%BC%82%E4%BA%AE%E7%9A%84%E5%8D%9A%E5%AE%A2/" title="用Markdown写出一篇漂亮的博客"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E7%94%A8Markdown%E5%86%99%E5%87%BA%E4%B8%80%E7%AF%87%E6%BC%82%E4%BA%AE%E7%9A%84%E5%8D%9A%E5%AE%A2.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="用Markdown写出一篇漂亮的博客"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/07/31/%E7%94%A8Markdown%E5%86%99%E5%87%BA%E4%B8%80%E7%AF%87%E6%BC%82%E4%BA%AE%E7%9A%84%E5%8D%9A%E5%AE%A2/" title="用Markdown写出一篇漂亮的博客">用Markdown写出一篇漂亮的博客</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-07-30T16:00:00.000Z" title="发表于 2020-07-31 00:00:00">2020-07-31</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/Markdown/">Markdown</a></span></div><div class="content">前言昨天和一个学长聊到写博客的问题，现在主流的博客系统，都已经支持使用Markdown语法编写博客了，但是任然有一些博客系统还是传统的html编辑器，通过源代码的形式来控制博客的排版，比如博主之前用的wordpress博客系统就是如此，Markdown格式写出来的博客还要通过一些特殊的方式，来转换成html代码来编辑发表，今天我就来教一下大家如何实现。
准备工作
Visual Studio Code(VScode)编辑器，点击下载
自学Markdown语法，推荐B站小马视频教学，点击前往

教程
在VScode的插件商店搜索Markdown Preview Enhanced进行安装即可，如下图所示。


安装完成后在我们编写窗口的右上角会有一个点击预览markdown格式的小按钮，点击后会在右边新开一栏，实时预览我们用markdown格式编写的内容，十分方便，效果如下图所示。


当我们编写完成后，只需要在右边预览处点击鼠标右键，就会有另存为html格式的选项，然后我们再把html中body标签内的源码复制粘贴到博客后台，对格式微调，发表文章即可。


多讲一句Markdown语法，我 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/05/29/%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%EF%BC%8C%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2%20(%E4%B8%80)/" title="从零开始，搭建个人博客(一)"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="从零开始，搭建个人博客(一)"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/05/29/%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%EF%BC%8C%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2%20(%E4%B8%80)/" title="从零开始，搭建个人博客(一)">从零开始，搭建个人博客(一)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-05-28T16:00:00.000Z" title="发表于 2020-05-29 00:00:00">2020-05-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a></span></div><div class="content">文章更新于2020年11月30日，补充了一些细节问题，保证了本教程的可行性与可靠性


前言我的网站从搭建到现在，已经100来天了，一个月没发文章了，因为这个月，确实感觉没有学到什么东西，在家成天上网课，积极性也在慢慢减弱，这两天返校了，这星期没课，就想着，把之前没做的搭站教程做一做，实际上，步骤都忘得差不多了，当初搭建的时候也是跌跌撞撞，走了很多弯路，最后也不知道怎么就捣鼓出来了，这次又写教程，算是又从零开始了，各位就随便看看吧。
网站搭建的三大部分
服务器网站的搭建基于服务器，只有网站文件只有放在服务器上，才能被他人访问
域名域名，也就是我们常说的网址，用于查找服务器IP来达到访问网站的目的，同时也方便我们记忆
环境配置有了前两项，只有配置好服务器后台，网站才成功被搭建

域名为什么先讲域名呢，因为大陆购买的域名都要经过备案才能使用，备案审核时间通常比较长，像博主自己的域名就用了1个月才通过备案，所以有心要搭建一个个人网站的小伙伴现在可以先去购买域名进行备案，早备案早通过。
越好的域名越贵，如果是用于个人网站的域名，其实不用买贵的，买一个经济实惠的就差不多了，这里推荐阿里云的域名， ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/04/24/%E5%85%B3%E4%BA%8ENaN%E7%9A%84%E4%B8%80%E4%B8%AA%E5%B0%8F%E9%97%AE%E9%A2%98/" title="关于NaN的一个小问题"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/JavaScript.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="关于NaN的一个小问题"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/24/%E5%85%B3%E4%BA%8ENaN%E7%9A%84%E4%B8%80%E4%B8%AA%E5%B0%8F%E9%97%AE%E9%A2%98/" title="关于NaN的一个小问题">关于NaN的一个小问题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-23T16:00:00.000Z" title="发表于 2020-04-24 00:00:00">2020-04-24</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/">编程学习</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/JavaScript/">JavaScript</a></span></div><div class="content">前言今天在写js代码的时候，遇到一个小问题，也在百度上找了好半天，好像没有一模一样的解答，最后在一些大佬的关于NaN详解的文章里找到了答案，所以我想记录一下这次问题
下面这段是课堂上老师写的代码
12345var str = input.value;if(Number(str.charAt(0)))&#123;    infoUserName.innerHTML = &quot;不能以数字开头&quot;;&#125;
这段代码，执行时候是完全没有问题的，输入以数字开头的字符串，就会执行代码，出现提示。后来我再来看这段代码，就发现if中的判定条件是将第一个字符转化为数值，转化不了则会返回NaN,然后我就在想，无论转化后是数字还是NaN,都if无关，那么是怎么判断是否要执行代码的，于是，我将代码改了下，改成下面这样了。
12345var str = input.value;if(Number(str.charAt(0)) != NaN)&#123;    infoUserName.innerHTML = &quot;不能以数字开头&quot;;&#125;
从我认为来看，这样是完全合理的 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/04/19/JSON%E5%9F%BA%E7%A1%80/" title="JSON基础"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/JSON.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JSON基础"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/19/JSON%E5%9F%BA%E7%A1%80/" title="JSON基础">JSON基础</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-18T16:00:00.000Z" title="发表于 2020-04-19 00:00:00">2020-04-19</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/">编程学习</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/JSON/">JSON</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/JavaScript/">JavaScript</a></span></div><div class="content">前言今天，我的JSON学习算是告一段落了，不过只是入门阶段，我只是掌握了一些基础语法，下面是我的学习笔记，有兴趣的小伙伴可以看一看，这不是一篇教程贴，但是如果你有基础的话，应该很容易看得懂，我只是想分享一下我的所学。
JSON在线工具一个可以在线编写JSON的网站

https://json.cn/

JSON是什么JSON，全称JavaScript Object Notation,即JavaScript对象标记法
JSON是存储和交换文本信息的语法，类似 XML
JSON是一种轻量级的、基于文本的、可读的格式，语法格式参考JavaScript对象，格式永不升级
JSON语法规则数组（Array）用方括号[]表示，存放值对象（Object）用大括号&#123;&#125;表示，存放名称&#x2F;值名称&#x2F;值对（name&#x2F;value）组合成数组和对象名称（name）置于双引号中，值（value）有字符串、数值、布尔值、null、对象、数组。
12345&#123;    &quot;name&quot;:&quot;John&quot;,    &quot;age&q ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/04/17/%E8%81%8A%E8%81%8APanDownload/" title="聊聊PanDownload"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E8%81%8A%E8%81%8APanDownload.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="聊聊PanDownload"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/17/%E8%81%8A%E8%81%8APanDownload/" title="聊聊PanDownload">聊聊PanDownload</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-16T16:00:00.000Z" title="发表于 2020-04-17 00:00:00">2020-04-17</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%94%9F%E6%B4%BB%E7%90%90%E7%A2%8E/">生活琐碎</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%99%BE%E5%BA%A6%E4%BA%91/">百度云</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/PanDownload/">PanDownload</a></span></div><div class="content">这篇文章，就PanDownload开发者被抓事件，我想谈谈自己的看法事情是这样的，2020年4月15日下午，PanDownload开发者蔡某萌被抓，他开发的这款软件可以突破百度网盘限速从而高速下载网盘文件，软件完全免费，深受大家喜欢。今年2月，有人报案说PanDownload泄漏了自己的隐私，警方开始调查。蔡某萌被抓后，警方爆出他非法盈利30余万，给百度公司带来了上千万的损失。
事发之后，各大贴吧论坛反应还是挺大的，可见这个软件用户群数量的庞大，网上骂声一片，矛头直指百度，你可能会说，为什么盗版软件侵权，正版软件却背负骂名呢。这就要说说百度网盘恶心人的限速机制了，普通用户是完全没有体验可言的，从网盘下载文件，限速最低可以到几kb&#x2F;s，就算是你交钱开通了所谓的超级会员，好像也不尽人意，据网友反映，好像还有个下载量限制，本人也有幸借过SVIP账号对比过两款软件的下载速度，下载同样的文件包，我的百度网盘客户端总下载速度4M&#x2F;s，而PanDownload总下载速度跑到了7M&#x2F;s，可见百度网盘对于SVIP也有限速机制。对于大部分用户而言，他们交钱开会员就是为了有一个 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/04/09/%E7%AE%80%E7%BA%A6%E8%83%8C%E6%99%AF%E5%9B%BE/" title="简约背景图"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="简约背景图"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/09/%E7%AE%80%E7%BA%A6%E8%83%8C%E6%99%AF%E5%9B%BE/" title="简约背景图">简约背景图</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-08T16:00:00.000Z" title="发表于 2020-04-09 00:00:00">2020-04-09</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a></span></div><div class="content">由于推荐网站无法访问，本篇博客已失效！

简介今天给大家分享的是一个背景图网站，里面全都是一些简约风格的图片，平铺拉伸都好看，很适合拿来当做背景图，点击图片还可以在线预览效果，下载也简单，本网站的之前的背景图就是在里面找到，喜欢简约风格的小伙伴一定不要错过！废话不多说，上链接，https://www.toptal.com/designers/subtlepatterns/
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/03/28/%E7%99%BE%E5%BA%A6%E4%BA%91%E9%99%90%E9%80%9F%E7%A0%B4%E8%A7%A3(PC)/" title="百度云限速破解(PC)"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E7%99%BE%E5%BA%A6%E4%BA%91%E9%99%90%E9%80%9F%E7%A0%B4%E8%A7%A3.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="百度云限速破解(PC)"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/28/%E7%99%BE%E5%BA%A6%E4%BA%91%E9%99%90%E9%80%9F%E7%A0%B4%E8%A7%A3(PC)/" title="百度云限速破解(PC)">百度云限速破解(PC)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-03-27T16:00:00.000Z" title="发表于 2020-03-28 00:00:00">2020-03-28</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E6%8A%80%E6%9C%AF/">网络技术</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%99%BE%E5%BA%A6%E4%BA%91/">百度云</a></span></div><div class="content">前言百度云限速机制大家都了解，不开会员下载东西会限速几十k每秒，然而，作为多年白嫖党，开会员是不可能的，这辈子都不可能，下面就教大家我现在在使用的一种PC端破解百度云限速的方法，你甚至都不需要下载百度云客户端，就可以高速下载网盘资源
准备工作
一个浏览器，什么浏览器都可以，只要能安装扩展插件就行，当然，IE就算了，太过时了
谷歌访问助手，点击下载，密码:5ane
油猴插件，这个插件强力推荐，功能太强大了，具体多强大，自己研究吧，点击下载,密码：9irj

安装安装浏览器插件这里以Chrome浏览器为例，下载谷歌访问助手和油猴插件，在浏览器设置里，找到扩展程序页面，将油猴插件直接拖入浏览器即可完成安装，而谷歌访问助手则需要解压后点击如图位置选择解压文件夹进行安装


安装下载器安装完谷歌访问助手后，就可以访问谷歌商店了，点击访问我们在谷歌商店搜索 Neat Download，找到如下图所示第一个插件，进行添加


设置下载器如下图，在设置中将下载最大线程改为32，保存并退出


下载脚本现在我们到脚本网下一个百度云直链生成工具，点击前往，如图点击，即可在线安装


使用
如下图所示，在配 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/03/18/GitHub%E4%BB%93%E5%BA%93%E9%AB%98%E9%80%9F%E5%85%8B%E9%9A%86/" title="GitHub仓库高速克隆"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/GitHub.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="GitHub仓库高速克隆"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/18/GitHub%E4%BB%93%E5%BA%93%E9%AB%98%E9%80%9F%E5%85%8B%E9%9A%86/" title="GitHub仓库高速克隆">GitHub仓库高速克隆</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-03-17T16:00:00.000Z" title="发表于 2020-03-18 00:00:00">2020-03-18</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E6%8A%80%E6%9C%AF/">网络技术</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Git/">Git</a></span></div><div class="content">前言相信用过Github的小伙伴都知道，当我们用Git克隆GitHub仓库时，速度是非常慢的，我一个几mb大小的学习笔记克隆下来都要老半天，速度不超过10k&#x2F;s，更不要说GitHub上面一些优秀的开源项目了,今天就教大家怎么高速克隆GitHub仓库。
准备工作注册一个码云的账号，点击前往
教程在码云上面导入GitHub仓库登录码云，右上角加号，点击导入GitHub仓库可以通过url导入，也可以关联GitHub账号来导入，我用的第一种


克隆仓库因为我们已经在码云上面导入了我们的GitHub仓库，所以我们可以用码云的仓库地址来进行克隆
1git clone https地址/ssh地址

修改仓库绑定在克隆下来的仓库本地文件夹里，我们找到.git/config这个文件用文本编辑器打开，做如下修改，然后我们的本地库就又跟GitHub远程库绑定上了


</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/03/13/%E6%A5%9A%E7%95%99%E9%A6%99%E5%9B%9E%E5%BF%86%E5%BD%95%E2%80%94%E2%80%94%E5%88%AB%E4%BA%86%E6%B1%9F%E6%B9%96/" title="楚留香回忆录——别了江湖"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/%E6%A5%9A%E7%95%99%E9%A6%99.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="楚留香回忆录——别了江湖"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/13/%E6%A5%9A%E7%95%99%E9%A6%99%E5%9B%9E%E5%BF%86%E5%BD%95%E2%80%94%E2%80%94%E5%88%AB%E4%BA%86%E6%B1%9F%E6%B9%96/" title="楚留香回忆录——别了江湖">楚留香回忆录——别了江湖</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-03-12T16:00:00.000Z" title="发表于 2020-03-13 00:00:00">2020-03-13</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%94%9F%E6%B4%BB%E7%90%90%E7%A2%8E/">生活琐碎</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E6%A5%9A%E7%95%99%E9%A6%99/">楚留香</a></span></div><div class="content">

就从这首马步谣开始吧，初入江湖时是它，告别江湖也应该是它

去年高考完，6月底，我接触了《楚留香》这款手游，开始了我的江湖之旅，其实吧，刚开始我还真没打算玩这款游戏的，无聊刷B站，刷到了那些神仙up的楚留香捏脸视频，正巧那段时间刚追完《少年歌行》，我寻思着，这游戏捏脸系统这么好，我整个无心和尚来玩玩吧。嗯，然后我就找了5张图，照着捏脸，反反复复捏了一上午，捏毁了又重来，捏毁了又重来，终于，大功告成，取个名字吧，且看梧桐落，当时不知道，这个名字出现在我脑海里，很有意境的感觉，就它了，我的江湖之旅，从这里开始了。

跟随系统引导，做新手任务，刚开始序章的时候，一连串的剧情，每一段都有配音，好像我还听到了阿杰的声音，听着是真的爽，仿佛一下子就被带入其中了，我一字一句地看着剧情，心中感叹着，这游戏，是真良心啊，精美的画面，神仙般的配音。但是，没出半小时，我失望了，突然，后面的剧情不给配音了，看着文字没感觉啊，匆匆点击跳过，嘿嘿，拿经验，升级，作为一个萌新，暂时还看不懂楚留香那些花里胡哨的东西，刷任务，拿经验升级，加点，最开始的一个星期，我就是这么玩的，还加了有一个帮派，世界频道上随便点进去 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/03/09/GitHub%E9%A1%B9%E7%9B%AE%E6%89%98%E7%AE%A1/" title="GitHub项目托管"><img class="post_bg" src="https://img.jcxiaozhan.top/cover/GitHub.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="GitHub项目托管"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/09/GitHub%E9%A1%B9%E7%9B%AE%E6%89%98%E7%AE%A1/" title="GitHub项目托管">GitHub项目托管</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-03-08T16:00:00.000Z" title="发表于 2020-03-09 00:00:00">2020-03-09</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E6%8A%80%E6%9C%AF/">网络技术</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Git/">Git</a></span></div><div class="content">前言本篇文章是一篇新手教程，只讲解GitHub基本的工作流程，不会讲解工作过程中出现的问题，例如多人协作冲突等问题请自行百度
准备工作要想管理GitHub，当然要借助Git这个工具，你可以点击这里，进行下载。
Git四大区如下图所示，Git的工作涉及到四个区域，分别是工作区、暂存区、本地仓库、远程仓库 ，熟悉这四个区域，就能轻松地完成Git的操作

工作区：我们修改文件的本地文件夹
暂存区：也叫索引区，用于临时存放修改后的文件
本地仓库：修改后的文件，要先传到本地仓库，再同步到远程仓库
远程仓库：也就是GitHub仓库
工作流程除第一步克隆外，其余步骤命令皆在工作区内右键打开git命令行输入


创建仓库首先在GitHub创建一个新仓库，将它克隆到本地(使用下面的命令)如果用ssh地址进行克隆需要先完成配置，可以参看我的上篇文章《GitHub-配置SSH》克隆下来的文件夹就是我们的工作区
1git clone https地址/ssh地址

配置本地信息通过以下命令，查询本地配置信息
1git config -l

图中红方框区域是我们本地的用户名和邮箱信息，如果没有，需要依次使用以下两 ...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/page/2/#content-inner"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/#content-inner">2</a><span class="page-number current">3</span><a class="page-number" href="/page/4/#content-inner">4</a><a class="extend next" rel="next" href="/page/4/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/mysrc/headimg.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">John Cena</div><div class="author-info__description">梦想不大,道路漫长</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">33</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">4</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly"><i class="fab fa-github"></i><span>主题获取</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/jcxiaozhan0403" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=349636607&amp;site=qq&amp;menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a><a class="social-icon" href="mailto:349636607@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">感谢来访，喜欢的话可以常来小站逛逛，不定期更新博客内容！</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/12/31/2023%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/" title="2023年终总结">2023年终总结</a><time datetime="2023-12-30T16:00:00.000Z" title="发表于 2023-12-31 00:00:00">2023-12-31</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/02/22/%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%EF%BC%9AJVM%E5%8E%9F%E7%90%86%E8%A7%A3%E6%9E%90/" title="从零开始：JVM原理解析">从零开始：JVM原理解析</a><time datetime="2023-02-21T16:00:00.000Z" title="发表于 2023-02-22 00:00:00">2023-02-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2022/12/31/2022%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/" title="2022年终总结">2022年终总结</a><time datetime="2022-12-30T16:00:00.000Z" title="发表于 2022-12-31 00:00:00">2022-12-31</time></div></div></div></div><div class="card-widget" id="card-newest-comments"><div class="item-headline"><i class="fas fa-comment-dots"></i><span>最新评论</span></div><div class="aside-list"><span>正在加载中...</span></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%94%9F%E6%B4%BB%E7%90%90%E7%A2%8E/"><span class="card-category-list-name">生活琐碎</span><span class="card-category-list-count">10</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%BC%96%E7%A8%8B%E5%AD%A6%E4%B9%A0/"><span class="card-category-list-name">编程学习</span><span class="card-category-list-count">13</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/"><span class="card-category-list-name">网站建设</span><span class="card-category-list-count">5</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%BD%91%E7%BB%9C%E6%8A%80%E6%9C%AF/"><span class="card-category-list-name">网络技术</span><span class="card-category-list-count">5</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/" style="font-size: 1.35em; color: rgb(100, 21, 118)">年终总结</a><a href="/tags/Git/" style="font-size: 1.35em; color: rgb(184, 198, 121)">Git</a><a href="/tags/Java/" style="font-size: 1.45em; color: rgb(185, 125, 119)">Java</a><a href="/tags/Hibernate/" style="font-size: 1.15em; color: rgb(115, 17, 187)">Hibernate</a><a href="/tags/JSON/" style="font-size: 1.15em; color: rgb(120, 17, 171)">JSON</a><a href="/tags/JavaScript/" style="font-size: 1.25em; color: rgb(115, 97, 81)">JavaScript</a><a href="/tags/Mybatis/" style="font-size: 1.25em; color: rgb(175, 41, 127)">Mybatis</a><a href="/tags/%E4%B8%93%E5%8D%87%E6%9C%AC/" style="font-size: 1.15em; color: rgb(78, 96, 160)">专升本</a><a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 1.25em; color: rgb(26, 179, 171)">算法</a><a href="/tags/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/" style="font-size: 1.35em; color: rgb(193, 88, 160)">网站建设</a><a href="/tags/Hexo/" style="font-size: 1.15em; color: rgb(168, 43, 170)">Hexo</a><a href="/tags/JVM/" style="font-size: 1.15em; color: rgb(62, 100, 156)">JVM</a><a href="/tags/%E4%BA%BA%E7%94%9F%E8%A7%84%E5%88%92/" style="font-size: 1.15em; color: rgb(90, 124, 94)">人生规划</a><a href="/tags/%E6%A5%9A%E7%95%99%E9%A6%99/" style="font-size: 1.15em; color: rgb(33, 125, 7)">楚留香</a><a href="/tags/Markdown/" style="font-size: 1.15em; color: rgb(46, 187, 75)">Markdown</a><a href="/tags/%E7%99%BE%E5%BA%A6%E4%BA%91/" style="font-size: 1.25em; color: rgb(200, 46, 122)">百度云</a><a href="/tags/PanDownload/" style="font-size: 1.15em; color: rgb(1, 73, 37)">PanDownload</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/12/"><span class="card-archive-list-date">十二月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/02/"><span class="card-archive-list-date">二月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/12/"><span class="card-archive-list-date">十二月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/11/"><span class="card-archive-list-date">十一月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/07/"><span class="card-archive-list-date">七月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/06/"><span class="card-archive-list-date">六月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/12/"><span class="card-archive-list-date">十二月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/11/"><span class="card-archive-list-date">十一月 2021</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">33</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">49k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-02-10T12:53:13.621Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://api.vvhan.com/api/bing')"><div id="footer-wrap"><div class="copyright">&copy;2019 - 2024 By John Cena</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">生活是个无赖，总毁掉所有的期待<br><span id="htmer_time"></span></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
  fetch('https://v1.hitokoto.cn')
    .then(response => response.json())
    .then(data => {
      if (true) {
        const from = '出自 ' + data.from
        const sub = ["世人慌慌张张，不过是图碎银几两。"]
        sub.unshift(data.hitokoto, from)
        window.typed = new Typed('#subtitle', {
          strings: sub,
          startDelay: 300,
          typeSpeed: 150,
          loop: true,
          backSpeed: 50,
        })
      } else {
        document.getElementById('subtitle').innerHTML = data.hitokoto
      }
    })
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}
</script></div><script>window.addEventListener('load', () => {
  const changeContent = (content) => {
    if (content === '') return content

    content = content.replace(/<img.*?src="(.*?)"?[^\>]+>/ig, '[图片]') // replace image link
    content = content.replace(/<a[^>]+?href=["']?([^"']+)["']?[^>]*>([^<]+)<\/a>/gi, '[链接]') // replace url
    content = content.replace(/<pre><code>.*?<\/pre>/gi, '[代码]') // replace code
    content = content.replace(/<[^>]+>/g,"") // remove html tag

    if (content.length > 150) {
      content = content.substring(0,150) + '...'
    }
    return content
  }

  const getComment = () => {
    const runTwikoo = () => {
      twikoo.getRecentComments({
        envId: 'https://twikoo.jcxiaozhan.top/',
        region: '',
        pageSize: 5,
        includeReply: true
      }).then(function (res) {
        const twikooArray = res.map(e => {
          return {
            'content': changeContent(e.comment),
            'avatar': e.avatar,
            'nick': e.nick,
            'url': e.url + '#' + e.id,
            'date': new Date(e.created).toISOString()
          }
        })

        saveToLocal.set('twikoo-newest-comments', JSON.stringify(twikooArray), 10/(60*24))
        generateHtml(twikooArray)
      }).catch(function (err) {
        const $dom = document.querySelector('#card-newest-comments .aside-list')
        $dom.innerHTML= "无法获取评论，请确认相关配置是否正确"
      })
    }

    if (typeof twikoo === 'object') {
      runTwikoo()
    } else {
      getScript('https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js').then(runTwikoo)
    }
  }

  const generateHtml = array => {
    let result = ''

    if (array.length) {
      for (let i = 0; i < array.length; i++) {
        result += '<div class=\'aside-list-item\'>'

        if (true) {
          const name = 'src'
          result += `<a href='${array[i].url}' class='thumbnail'><img ${name}='${array[i].avatar}' alt='${array[i].nick}'></a>`
        }
        
        result += `<div class='content'>
        <a class='comment' href='${array[i].url}' title='${array[i].content}'>${array[i].content}</a>
        <div class='name'><span>${array[i].nick} / </span><time datetime="${array[i].date}">${btf.diffDate(array[i].date, true)}</time></div>
        </div></div>`
      }
    } else {
      result += '没有评论'
    }

    let $dom = document.querySelector('#card-newest-comments .aside-list')
    $dom.innerHTML= result
    window.lazyLoadInstance && window.lazyLoadInstance.update()
    window.pjax && window.pjax.refresh($dom)
  }

  const newestCommentInit = () => {
    if (document.querySelector('#card-newest-comments .aside-list')) {
      const data = saveToLocal.get('twikoo-newest-comments')
      if (data) {
        generateHtml(JSON.parse(data))
      } else {
        getComment()
      }
    }
  }

  newestCommentInit()
  document.addEventListener('pjax:complete', newestCommentInit)
})</script><script src="/js/myjs.js"></script><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js"></script><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]

var pjax = new Pjax({
  elements: 'a:not([target="_blank"]):not([href="/shuoshuo/"]):not([href="/navigation.html"]):not([href="/artitalk/index.html"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:send', function () {

  // removeEventListener scroll 
  window.tocScrollFn && window.removeEventListener('scroll', window.tocScrollFn)
  window.scrollCollect && window.removeEventListener('scroll', scrollCollect)

  typeof preloader === 'object' && preloader.initLoading()
  document.getElementById('rightside').style.cssText = "opacity: ''; transform: ''"
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

  typeof disqusjs === 'object' && disqusjs.destroy()
})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  document.querySelectorAll('script[data-pjax]').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>